function initSettings(obj)

% This file is part of CISNE.
%
%     CISNE is free software: you can redistribute it and/or modify
%     it under the terms of the GNU General Public License as published by
%     the Free Software Foundation, either version 3 of the License, or
%     any later version.
%
%     CISNE is distributed in the hope that it will be useful,
%     but WITHOUT ANY WARRANTY; without even the implied warranty of
%     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%     GNU General Public License for more details.
%
%     You should have received a copy of the GNU General Public License
%     along with CISNE.  If not, see <http://www.gnu.org/licenses/>.

% Copyright 2011. Jose Maria Garcia-Valdecasas Bernal

%axes settings
obj.m_axLimits=[0 1 0 1];
obj.m_axProp.Box='on';
obj.m_axProp.Color=[1 1 1];
obj.m_axProp.TickDir='in';
obj.m_axProp.TickLength=[.01 .01] ;
obj.m_axProp.XMinorTick='on';
obj.m_axProp.YMinorTick='on';
obj.m_axProp.XGrid='on';
obj.m_axProp.YGrid='on';
obj.m_axProp.XColor=[.3 .3 .3];
obj.m_axProp.YColor= [.3 .3 .3];
obj.m_axProp.XMinorGrid='on';
obj.m_axProp.YMinorGrid='on';
obj.m_axProp.GridLineStyle='--';
obj.m_axProp.MinorGridLineStyle=':';
obj.m_axProp.LineWidth= 1;
obj.m_axProp.FontSize=8;
obj.m_axProp.Layer='top';

%computational grids settings
obj.m_cNestProp.MarkerEdgeColor=[1 0.97 0];
obj.m_cNestProp.Marker='s';
obj.m_cNestProp.MarkerFaceColor=[0.7 0.7 0.7];
obj.m_cMainProp.MarkerEdgeColor=[1 0 0];
obj.m_cMainProp.Marker='s';
obj.m_cMainProp.MarkerFaceColor=[0.7 0.7 0.7];

%control points settings
obj.m_PointsProp.MarkerEdgeColor=[1 1 1];
obj.m_PointsProp.MarkerFaceColor=[1 0.56 0];
obj.m_PointsProp.Marker='o';
obj.m_PointsProp.MarkerSize=6;


%input grids properties

types={'BATHYMETRY','VEGETATION','CURRENT',...
    'CURRENT_X','CURRENT_Y',...
    'WIND','WIND_X','WIND_Y'};
for j=1:length(types)
    name=types{j};
    switch name
        case 'BATHYMETRY'
            obj.m_iGridsProp.(name).seamap.c1=[0.8 0.88 0.97]; %first color 
            obj.m_iGridsProp.(name).seamap.c2=[0 0 0.56];%last color 
            obj.m_iGridsProp.(name).landmap.c1=[0.6 1 0.6];%first color 
            obj.m_iGridsProp.(name).landmap.c2=[0 0.4 0];%last color
        case 'VEGETATION'
            obj.m_iGridsProp.(name).map.c1=[0.89 0.94 0.9];
            obj.m_iGridsProp.(name).map.c2=[0.11 0.31 0.21];
        case {'CURRENT' 'CURRENT_X' 'CURRENT_Y'}
            obj.m_iGridsProp.(name).map.c1=[0 0 1];
            obj.m_iGridsProp.(name).map.c2=[1 0 0];
        case {'WIND' 'WIND_X' 'WIND_Y'}
            obj.m_iGridsProp.(name).map.c1=[0 0 1];
            obj.m_iGridsProp.(name).map.c2=[1 0 0];
    end
end
